package com.qzdsoft.erpcloud.domain.sys;

import javax.persistence.*;

@Table(name = "sys_role_table_field")
public class SysRoleTableField {
    /**
     * 表格ID
     */
    @Id
    @Column(name = "role_id")
    private Integer roleId;

    /**
     * 字段名
     */
    @Id
    @Column(name = "field_id")
    private String fieldId;

    /**
     * 获取表格ID
     *
     * @return role_id - 表格ID
     */
    public Integer getRoleId() {
        return roleId;
    }

    /**
     * 设置表格ID
     *
     * @param roleId 表格ID
     */
    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    /**
     * 获取字段名
     *
     * @return field_id - 字段名
     */
    public String getFieldId() {
        return fieldId;
    }

    /**
     * 设置字段名
     *
     * @param fieldId 字段名
     */
    public void setFieldId(String fieldId) {
        this.fieldId = fieldId;
    }
}